#include "factory.h"

Node* Factory::createNode() {
    Node* p_node = hook();
    Graph* graph = Graph::getGraph();
    graph -> addNode(p_node);
    return p_node;
}
